export interface YmAvatarProps {
  rootClassName?: string;
  rootStyle?: React.CSSProperties;
  prefixCls?: string;
  size?: number; //尺寸
  shape?: 'circle' | 'square'; //形状
  src?: React.ReactNode; //img
  icon?: React.ReactNode; //img
  children?: React.ReactNode; //字体
  gap?: number;
}

export interface YmAvatarGroupProps {
  prefixCls?: string;
  size?: number; //尺寸
  shape?: 'circle' | 'square'; //形状
  groupClassName?: string;
  groupStyle?: React.CSSProperties;
  maxCount?: number; //最多显示几个
  maxStyle?: React.CSSProperties;
  children?: React.ReactNode;
  maxPopoverPlacement?: 'top' | 'bottom';
  maxPopoverTrigger?: 'hover' | 'focus' | 'click';
}
